/**
 * @format
 */

import {AppRegistry} from 'react-native';
import App from './src';
import {name as appName} from './app.json';
import 'react-native-gesture-handler';

if (__DEV__) {
  const emptyFunc = () => {};
  global.console.log = emptyFunc;
  global.console.error = emptyFunc;
  global.console.info = emptyFunc;
  global.console.warn = emptyFunc;
}

// Todo 安卓文件夹内  一个文件没有配置  因为官网已没有，疑似已不用做配置
AppRegistry.registerComponent(appName, () => App);
